package com.vichat.common.enums;

public interface CommonConst {

    String JSON_ROOT = "/file/json/";

    String BAIDU_IP_URL = "http://api.map.baidu.com/location/ip?ak=HaLm73etGq5rmqvKaGMUQN7v9Gqp9pFa&coor=bd09ll&ip=";

    String ICE_TOKEN_KEY_2 = "access_token";
    String ICE_TOKEN_KEY = "skip_auth";
    String ICE_TOKEN_CODE = "9g%8dmr3";
    String DES_TOKEN = "kQ3l&9!v";


    String JSON_SUCCESS = "SUCCESS";
    String JSON_FAILED = "FAILED";

    /**
     * 异步调用返回JSON格式数据
     */
    String JSON_RESULT = "jsonResult";

    final String PROPERTIES_FILE_NAMES[] = new String[]{"KKAIConfig.xml"};

    public final static String SPRING_CTX_PATH = "SpringConfig.xml";

    /**
     * 系统错误页
     */
    String KK_ERROR_PAGE = "errorPage";

    public final static String SSO_LOGIN = "ssologin";

    /**
     * State 1:有效 0失效
     */
    final short STATE_EFF = 1;
    /**
     * State 0:失效
     */
    final short STATE_EXP = 0;

    /**
     * State U:有效
     */
    final String STATE_OK = "U";
    /**
     * State O:失效
     */
    final String STATE_D = "O";

    /**
     * 系统创建者ID
     */
    final long SYSTEM_CREATE = 10000L;

    final String USER_TYPE_KKCS = "kkcs";
    final String USER_TYPE_KKSELL = "kksell";
    final int USER_TYPE_KKCS_KEY = 8807;
    final int USER_TYPE_KKSELL_KEY = 8809;
    final int USER_TYPE_KKCS_KKSELL_KEY = 8810;

    final String KKSSO = "http://61.191.55.170:8090/servlet/";
    final String KKSSOCHECK = KKSSO.concat("KKSsoCheck");
    final String KKSSOLOGIN = KKSSO.concat("KKSsoLogin");
    final String KKCOOKIE_KEY = "KCSKSELL";
    final String KKSESSION_KEY = "KKUSER";

    /**
     * 缓存-失效时间: 一天
     */
    final long CACHE_EXP_TIME = 24 * 60 * 60;

    int ERROR_ICE_RERRESH = 99;
    int ERROR_DATA_UPDATE = 98;
    int SUCCESS_UPDATA = 1;


}
